<template>
  <div class="layout">
    <!-- 二级出口 -->
    <router-view></router-view>
    <div class="nav">
      <RouterLink to="/layout/article">面经</RouterLink>
      <RouterLink to="/layout/collect">收藏</RouterLink>
      <RouterLink to="/layout/like">喜欢</RouterLink>
      <RouterLink to="/layout/user">我的</RouterLink>
    </div>
  </div>
</template>

<script>
export default {
  name: "HmLayout",
};
</script>

<style lang="less" scoped>
.nav {
  width: 100%;
  height: 50px;
  background-color: thistle;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  bottom: 0;
}
</style>
